package com.daka.dao;

import com.daka.entity.ApproveAddress;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by yangx
 * CreateTime: 2016/9/27 16:00
 */

@Repository(value = "approveAddressMapper")
@SQLMapper
public interface ApproveAddressMapper {

    int insert(ApproveAddress record);

    ApproveAddress selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApproveAddress record);

    List<ApproveAddress> selectByStatement(ApproveAddress record);
    int selectByStatementCount(ApproveAddress record);

    ApproveAddress selectByAddress(Long id);

}
